Vue.filter('formatDate', function(value) {
  let now = new Date(value * 1000);
  return `${now.getFullYear()}-${now.getMonth() + 1}-${now.getDate()} ${now.getHours()}:${now.getMinutes()}:${now.getSeconds()}`
})